OpenLayers.Control.DragListner = OpenLayers.Class(OpenLayers.Control, {                
    defaultHandlerOptions: {
        'single': true,
        'double': false,
        'pixelTolerance': 0,
        'stopSingle': false,
        'stopDouble': false
    },
    dragCallbacks : function(){},

    initialize: function(options) {
        this.handlerOptions = OpenLayers.Util.extend(
            {}, this.defaultHandlerOptions
        );
        OpenLayers.Control.prototype.initialize.apply(
            this, arguments
        ); 
        this.handler = new OpenLayers.Handler.Drag(
                this, OpenLayers.Util.extend({
//                    down: this.downFeature,
//                    move: this.moveFeature,
//                    up: this.upFeature,
//                    out: this.cancel,
                    done: this.doneDragging
                }, this.dragCallbacks), {
                    documentDrag: this.documentDrag
                }
            );
    }, 

    doneDragging: function(evt) {
        console.log(arguments);
    },

    documentDrag: function(evt) {  
    	console.log(arguments);
    },
    CLASS_NAME: "OpenLayers.Control.DragListner"
    
});
